html,
body {
    width: 100%;
    height: 100%;
}

.shoppingcar_top {
    margin: 0 auto;
    width: 1226px;
    height: 100px;
    background-color: #ffffff;
    &>div:nth-child(1) {
        float: left;
        div {
            margin-top: 26px;
            float: left;
            img {
                width: 48px;
                height: 48px;
            }
        }
        h2 {
            font-weight: 400;
            float: left;
            font-size: 36px;
            margin-top: 26px;
            margin-left: 45px;
            color: #424242;
        }
        p {
            margin-top: 46px;
            margin-left: 25px;
            float: left;
            font-size: 20;
            color: #757575;
        }
    }
    &>div:nth-child(2) {
        float: right;
        padding-top: 40px;
        a {
            color: #757575;
            text-decoration: none;
        }
    }
}

.shoppingcar_middle_top {
    width: 1226px;
    height: 70px;
    margin: auto;
    margin-top: 20px;
    .goods_top {
        width: 1200px;
        height: 70px;
        margin: auto;
        padding-right: 26px;
        background-color: #ffffff;
        div {
            float: left;
            font-size: 16px;
            height: 70px;
            line-height: 70px;
        }
        .goods_top_one {
            width: 110px;
        }
        .goods_top_two {
            width: 120px;
        }
        .goods_top_three {
            width: 380px;
        }
        .goods_top_four {
            width: 158px;
            text-align: center;
        }
        .goods_top_five {
            width: 150px;
            text-align: center;
        }
        .goods_top_six {
            box-sizing: border-box;
            width: 201px;
            text-align: right;
            padding-right: 81px;
        }
        .goods_top_seven {
            width: 80px;
            text-align: center;
        }
    }
}

.shoppingcar_middle {
    padding-top: 40px;
    width: 1226px;
    margin: auto;
    .goods_top {
        width: 1200px;
        height: 70px;
        margin: auto;
        padding-right: 26px;
        background-color: #ffffff;
        div {
            float: left;
            font-size: 16px;
            height: 70px;
            line-height: 70px;
        }
        .goods_top_one {
            width: 110px;
        }
        .goods_top_two {
            width: 120px;
        }
        .goods_top_three {
            width: 380px;
        }
        .goods_top_four {
            width: 158px;
            text-align: center;
        }
        .goods_top_five {
            width: 150px;
            text-align: center;
        }
        .goods_top_six {
            box-sizing: border-box;
            width: 201px;
            text-align: right;
            padding-right: 81px;
        }
        .goods_top_seven {
            width: 80px;
            text-align: center;
        }
    }
    .goodsone {
        width: 1226px;
        height: 116px;
        box-sizing: border-box;
        padding: 15px 26px 15px 0;
        border-top: 1px solid #e0e0e0;
        div {
            // float: left;
            height: 85px;
            line-height: 85px;
        }
        .goodsimg img {
            width: 80px;
            height: 80px;
        }
        .goodstitle {
            font-size: 18px;
        }
        .goodspriceall {
            color: #ff6900;
        }
        .goodsdel {}
        .goodsnum {
            .goodsnum_div {
                width: 148px;
                height: 38px;
                margin: 23px auto;
                border: 1px solid #e0e0e0;
                display: flex;
                .reduce {
                    flex: 1;
                    height: 38px;
                    line-height: 38px;
                }
                .num {
                    flex: 2;
                    height: 38px;
                    line-height: 38px;
                }
                .add {
                    flex: 1;
                    height: 38px;
                    line-height: 38px;
                }
            }
        }
    }
}

.shoppingcar_middle_bottom {
    width: 1226px;
    margin: auto;
    .total {
        margin-top: 20px;
        width: 1226px;
        height: 50px;
        background-color: #ffffff;
        display: flex;
        justify-content: space-between;
        &>div:nth-child(1) {
            height: 50px;
            a {
                display: inline-block;
                height: 50px;
                line-height: 50px;
                color: #757575;
                text-decoration: none;
            }
            span {
                display: inline-block;
            }
        }
        &>div:nth-child(2) {
            height: 50px;
            a {
                display: inline-block;
                height: 50px;
                width: 200px;
                text-align: center;
                margin-left: 50px;
                line-height: 50px;
                text-decoration: none;
                color: #ffffff;
                background-color: #e0e0e0;
            }
        }
    }
}

.alert {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999999;
    display: none;
    .is_del {
        width: 500px;
        height: 200px;
        margin: 270px auto;
        // position: absolute;
        // margin-left: 50%;
        // margin-top: 50%;
        // transform: translateX(-200px);
        // transform: translateY(-100px);
        .is_del_top {
            background-color: #ffffff;
            height: 120px;
            overflow: hidden;
            div {
                div {
                    float: right;
                    margin-top: 5px;
                    margin-right: 5px;
                    width: 30px;
                    height: 30px;
                    font-size: 24px;
                    text-align: center;
                    line-height: 30px;
                    border-radius: 15px;
                    transition: all 0.5s;
                    &:hover {
                        background-color: #e53935;
                        color: #ffffff;
                    }
                }
            }
            p {
                font-size: 18px;
                margin-top: 60px;
                text-align: center;
            }
        }
        .is_del_bottom {
            background-color: #f5f5f5;
            height: 80px;
            display: flex;
            justify-content: center;
            .confirm {
                margin-top: 20px;
                margin-right: 20px;
                width: 120px;
                height: 40px;
                text-align: center;
                line-height: 40px;
                background-color: #ff6900;
                color: #ffffff;
                transition: all 0.5s;
                &:hover {
                    background-color: #f25807;
                }
            }
            .cancel {
                margin-top: 20px;
                margin-left: 20px;
                width: 120px;
                height: 40px;
                text-align: center;
                line-height: 40px;
                background-color: #b0b0b0;
                transition: all 0.5s;
                &:hover {
                    background-color: #757575;
                }
            }
        }
    }
}